package com.bcts.rrh.drawingboard.shapeview;


import com.bcts.rrh.drawingboard.DrawCylinder;

import java.util.List;
import java.util.Vector;

import javax.microedition.khronos.opengles.GL10;

public class Contanier {//3D图形容器
    public List<DrawCylinder> cylinder=null;
    public Contanier(){
        cylinder=new Vector<DrawCylinder>();
    }

    public void drawSelf(GL10 gl){				//遍历集合绘制
        for (DrawCylinder c : cylinder){
            c.drawSelf(gl);
        }
    }

    public void addcylinderView(DrawCylinder cyl) {
        cylinder.add(cyl);
    }
}
